Reasoning about effect interaction by fusion

نویسندگان

چکیده

Effect handlers can be composed by applying them sequentially, each handling some operations and leaving other uninterpreted in the syntax tree. However, semantics of subtle---it is well known that different orders composing lead to drastically semantics. Determining correct order composition a non-trivial task. To alleviate this problem, paper presents systematic way deriving sufficient conditions on for their composite correctly handle combinations, such as sum tensor, effect theories separately handled. These are solely characterised clauses relevant handlers, derived fusing two into one using form fold/build fusion continuation-passing style transformation. As case studies, technique applied commutative distributive interaction obtain series results about common handlers: (a) equations respected handler preserved after composition; (b) mutable state before any gives rise which with from latter handler; (c) writer either combination these theories.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Updates by Reasoning about States Updates by Reasoning about States *

We present a language extension to Datalog which allows to specify deterministic update procedures in a declarative way. Existing update languages either rely on procedural aspects of program evaluation or leave the framework of deductive databases and logic programming. In contrast, we show that declarative update semantics can be attained by incorporating state terms into the language. Since ...

متن کامل

Personalizing web services by reasoning about interaction protocols

In this work, we argue the importance of including in the emerging standards for web service descriptions also the high-level communication protocol, used by a service to interact with its clients. We will motivate this claim by setting web services in a multi-agent framework, where web services are implemented as software agents that interact with other agents, the personal assistants, used to...

متن کامل

Reasoning about human error by modeling cognition and interaction

In this paper we focus on system resilience from the perspective of understanding human error. In particular, we consider systematic cognitive slips, including postcompletion errors, which are persistent, though infrequent. We outline the findings from empirical studies that have identified various factors that provoke or mitigate against such errors. We then describe approaches we are pursuing...

متن کامل

Reasoning About Agents' Interaction Protocols Inside DCaseLP

Engineering systems of heterogeneous agents is a difficult task; one of the ways for achieving the successful industrial deployment of agent technology is the development of engineering tools that support the developer in all the steps of design and implementation. In this work we focus on the problem of supporting the design of agent interaction protocols by carrying out a methodological integ...

متن کامل

Multimodal Logics for Reasoning about Interaction

In this paper, we report some of the activities carried on in the last years by the research group leaded by Alberto Martelli. In particular, it presents a research line that encompasses the specification, the development and the verification of interaction protocols. The leading thread is given by the use of multimodal logics and of declarative formalisms and reasoning techniques, based on com...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

ژورنال

عنوان ژورنال: Proceedings of the ACM on programming languages

سال: 2021

ISSN: ['2475-1421']

DOI: https://doi.org/10.1145/3473578